﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopUser")]
    public class TopUser : BaseObject
    {
        //begin
        public TopUser()
        {}
        public TopUser(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _Uid;
        public string Uid
        {
            get
            {
                return _Uid;
            }
            set
            {
                SetPropertyValue("Uid", ref _Uid, value);
            }
        }
        private string _Nick;
        public string Nick
        {
            get
            {
                return _Nick;
            }
            set
            {
                SetPropertyValue("Nick", ref _Nick, value);
            }
        }
        private string _Sex;
        public string Sex
        {
            get
            {
                return _Sex;
            }
            set
            {
                SetPropertyValue("Sex", ref _Sex, value);
            }
        }
        private TopUserCredit _BuyerCredit;
        public TopUserCredit BuyerCredit
        {
            get
            {
                return _BuyerCredit;
            }
            set
            {
                SetPropertyValue("BuyerCredit", ref _BuyerCredit, value);
            }
        }
        private TopUserCredit _SellerCredit;
        public TopUserCredit SellerCredit
        {
            get
            {
                return _SellerCredit;
            }
            set
            {
                SetPropertyValue("SellerCredit", ref _SellerCredit, value);
            }
        }
        private TopLocation _Location;
        public TopLocation Location
        {
            get
            {
                return _Location;
            }
            set
            {
                SetPropertyValue("Location", ref _Location, value);
            }
        }
        private DateTime _Created;
        public DateTime Created
        {
            get
            {
                return _Created;
            }
            set
            {
                SetPropertyValue("Created", ref _Created, value);
            }
        }
        private DateTime _LastVisit;
        public DateTime LastVisit
        {
            get
            {
                return _LastVisit;
            }
            set
            {
                SetPropertyValue("LastVisit", ref _LastVisit, value);
            }
        }
        private DateTime _Birthday;
        public DateTime Birthday
        {
            get
            {
                return _Birthday;
            }
            set
            {
                SetPropertyValue("Birthday", ref _Birthday, value);
            }
        }
        private string _Type;
        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                SetPropertyValue("Type", ref _Type, value);
            }
        }
        private bool _HasMorePic;
        public bool HasMorePic
        {
            get
            {
                return _HasMorePic;
            }
            set
            {
                SetPropertyValue("HasMorePic", ref _HasMorePic, value);
            }
        }
        private long _ItemImgNum;
        public long ItemImgNum
        {
            get
            {
                return _ItemImgNum;
            }
            set
            {
                SetPropertyValue("ItemImgNum", ref _ItemImgNum, value);
            }
        }
        private long _ItemImgSize;
        public long ItemImgSize
        {
            get
            {
                return _ItemImgSize;
            }
            set
            {
                SetPropertyValue("ItemImgSize", ref _ItemImgSize, value);
            }
        }
        private long _PropImgNum;
        public long PropImgNum
        {
            get
            {
                return _PropImgNum;
            }
            set
            {
                SetPropertyValue("PropImgNum", ref _PropImgNum, value);
            }
        }
        private long _PropImgSize;
        public long PropImgSize
        {
            get
            {
                return _PropImgSize;
            }
            set
            {
                SetPropertyValue("PropImgSize", ref _PropImgSize, value);
            }
        }
        private string _AutoRepost;
        public string AutoRepost
        {
            get
            {
                return _AutoRepost;
            }
            set
            {
                SetPropertyValue("AutoRepost", ref _AutoRepost, value);
            }
        }
        private string _PromotedType;
        public string PromotedType
        {
            get
            {
                return _PromotedType;
            }
            set
            {
                SetPropertyValue("PromotedType", ref _PromotedType, value);
            }
        }
        private string _Status;
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _AlipayBind;
        public string AlipayBind
        {
            get
            {
                return _AlipayBind;
            }
            set
            {
                SetPropertyValue("AlipayBind", ref _AlipayBind, value);
            }
        }
        private bool _ConsumerProtection;
        public bool ConsumerProtection
        {
            get
            {
                return _ConsumerProtection;
            }
            set
            {
                SetPropertyValue("ConsumerProtection", ref _ConsumerProtection, value);
            }
        }
        private string _AlipayAccount;
        public string AlipayAccount
        {
            get
            {
                return _AlipayAccount;
            }
            set
            {
                SetPropertyValue("AlipayAccount", ref _AlipayAccount, value);
            }
        }
        private string _AlipayNo;
        public string AlipayNo
        {
            get
            {
                return _AlipayNo;
            }
            set
            {
                SetPropertyValue("AlipayNo", ref _AlipayNo, value);
            }
        }
        private string _Avatar;
        public string Avatar
        {
            get
            {
                return _Avatar;
            }
            set
            {
                SetPropertyValue("Avatar", ref _Avatar, value);
            }
        }
        private bool _Liangpin;
        public bool Liangpin
        {
            get
            {
                return _Liangpin;
            }
            set
            {
                SetPropertyValue("Liangpin", ref _Liangpin, value);
            }
        }
        private bool _SignFoodSellerPromise;
        public bool SignFoodSellerPromise
        {
            get
            {
                return _SignFoodSellerPromise;
            }
            set
            {
                SetPropertyValue("SignFoodSellerPromise", ref _SignFoodSellerPromise, value);
            }
        }
        private bool _HasShop;
        public bool HasShop
        {
            get
            {
                return _HasShop;
            }
            set
            {
                SetPropertyValue("HasShop", ref _HasShop, value);
            }
        }
        private bool _IsLightningConsignment;
        public bool IsLightningConsignment
        {
            get
            {
                return _IsLightningConsignment;
            }
            set
            {
                SetPropertyValue("IsLightningConsignment", ref _IsLightningConsignment, value);
            }
        }
        private string _VipInfo;
        public string VipInfo
        {
            get
            {
                return _VipInfo;
            }
            set
            {
                SetPropertyValue("VipInfo", ref _VipInfo, value);
            }
        }
        private string _Email;
        public string Email
        {
            get
            {
                return _Email;
            }
            set
            {
                SetPropertyValue("Email", ref _Email, value);
            }
        }
        private bool _MagazineSubscribe;
        public bool MagazineSubscribe
        {
            get
            {
                return _MagazineSubscribe;
            }
            set
            {
                SetPropertyValue("MagazineSubscribe", ref _MagazineSubscribe, value);
            }
        }
        private string _VerticalMarket;
        public string VerticalMarket
        {
            get
            {
                return _VerticalMarket;
            }
            set
            {
                SetPropertyValue("VerticalMarket", ref _VerticalMarket, value);
            }
        }
        private bool _OnlineGaming;
        public bool OnlineGaming
        {
            get
            {
                return _OnlineGaming;
            }
            set
            {
                SetPropertyValue("OnlineGaming", ref _OnlineGaming, value);
            }
        }
        //end
    }
}
